<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<div class="panel-body">
    <div class="btn-group pull-right">
        <button type="button" class="btn btn-success" onclick="addEventItem()">添加事件</button>
    </div>
    <div>
        <table id="contentTable" class="table table-bordered table-striped mg-t datatable">
            <thead>
            <tr>
                <th>记录项目</th>
                <th>时间点</th>
                <th>类别</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${list}" var="nurseVitalSignsRec">
            <tr>
                <td> ${nurseVitalSignsRec.vitalSigns}</td>
                <td><fmt:formatDate value="${nurseVitalSignsRec.timePoint}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                <td> ${fns:getDictLabel(nurseVitalSignsRec.classCode,'NURSE_CLASS_DICT','')}</td>
                <td><a href="#"
                       onclick="confirmExtend('确认要删除该事件吗？',function(){delLoad('eventDiv','${ctx}/nurse/nurseVitalSignsRec/delete?id=${nurseVitalSignsRec.id}','${ctx}/nurse/nurseVitalSignsRec/index?patientId=${nurseVitalSignsRec.patientId}&visitId=${nurseVitalSignsRec.visitId}&tempInfo.id=${nurseVitalSignsRec.tempInfo.id}')})"
                       class="btn btn-danger btn-xs">删除</a></td>
            </tr>
            </c:forEach>

        </table>
    </div>
</div>